Model Providers

Setup guides for model providers and API adapters available in Agno.

Browse the provider guides available in this documentation. Capabilities vary by provider endpoint and model ID.

Provider APIs

Local Runtimes

Cloud Platforms

Hosted Inference and Gateways

Model String Key Catalog

These are the canonical provider keys registered by the model-string resolver. Similar keys can select different API adapters.

CategoryCanonical keys
Provider APIsanthropic, cohere, dashscope, deepseek, google, google-interactions, inception, internlm, llama-openai, meta, minimax, mistral, moonshot, open-responses, openai, openai-chat, openai-responses, perplexity, vercel, xai, xai-responses, xiaomi
Local runtimesllama-cpp, llmman, lmstudio, ollama, ollama-responses, vllm
Cloud platformsaws-bedrock, aws-claude, azure-ai-foundry, azure-foundry-claude, azure-openai, ibm, vertexai-claude
Hosted inference and gatewaysaimlapi, cerebras, cerebras-openai, cloudflare, cometapi, deepinfra, fireworks, groq, huggingface, langdb, litellm, litellm-openai, n1n, nebius, neosantara, nexus, nvidia, openrouter, openrouter-responses, portkey, ramp, requesty, sambanova, siliconflow, synthorai, tokenlab, together, trustedrouter, tuning-engines

Use canonical keys in new configuration. See Model as String for parsing rules and API-variant examples.

SDK Adapters Without Dedicated Guides

The SDK also exports these provider adapters, but this documentation does not yet include setup guides for them:

AdapterImportRelated documentation
InternLMfrom agno.models.internlm import InternLMInternLM reference
Moonshotfrom agno.models.moonshot import MoonShotMoonshot examples
N1Nfrom agno.models.n1n import N1NN1N reference

The InternLM default base_url already ends in /chat/completions, and the inherited OpenAI client appends that route again. The internlm:model_id string therefore sends requests to a duplicated path. Until the adapter is fixed, instantiate the class with base_url="https://internlm-chat.intern-ai.org.cn/puyu/api/v1" instead of using the string form.

Feature support still depends on the selected model ID and endpoint. Verify both before deployment.

Developer Resources