{ "openai": { "id": "openai", "env": [ "OPENAI_API_KEY" ], "npm": "@ai-sdk/openai", "name": "OpenAI", "doc": "https://platform.openai.com/docs/models", "models": { "gpt-5.6": { "id": "gpt-5.6", "name": "GPT-5.6", "description": "Frontier GPT-5.6 model for complex professional work, coding, and agentic workflows", "family": "gpt-sol", "attachment": true, "reasoning": true, "reasoning_options": [ { "type": "effort", "values": [ "none", "low", "medium", "high", "xhigh", "max" ] } ], "tool_call": true, "structured_output": true, "temperature": false, "knowledge": "2026-02-16", "release_date": "2026-07-09", "last_updated": "2026-07-09", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 1050000, "input": 922000, "output": 128000 }, "experimental": { "modes": { "fast": { "cost": { "input": 8, "output": 40, "cache_read": 0.8, "cache_write": 10 }, "provider": { "body": { "service_tier": "priority" } } }, "pro": { "provider": { "body": { "reasoning": { "mode": "pro" } } } } } }, "cost": { "input": 4, "output": 20, "cache_read": 0.4, "cache_write": 5, "tiers": [ { "input": 8, "output": 30, "cache_read": 0.8, "cache_write": 10, "tier": { "type": "context", "size": 272000 } } ], "context_over_200k": { "input": 8, "output": 30, "cache_read": 0.8, "cache_write": 10 } } }, "gpt-4.1": { "id": "gpt-4.1", "name": "GPT-4.1", "description": "Long-lived GPT workhorse for coding, instruction following, and production apps", "family": "gpt", "attachment": true, "reasoning": false, "tool_call": true, "structured_output": true, "temperature": true, "knowledge": "2024-04", "release_date": "2025-04-14", "last_updated": "2025-04-14", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 1047576, "output": 32768 }, "cost": { "input": 2, "output": 8, "cache_read": 0.5 } }, "gpt-4o": { "id": "gpt-4o", "name": "GPT-4o", "description": "Omni-era GPT for multimodal chat, practical coding, and general assistants", "family": "gpt", "attachment": true, "reasoning": false, "tool_call": true, "structured_output": true, "temperature": true, "knowledge": "2023-09", "release_date": "2024-05-13", "last_updated": "2024-08-06", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 128000, "output": 16384 }, "cost": { "input": 2.5, "output": 10, "cache_read": 1.25 } } } }, "anthropic": { "id": "anthropic", "env": [ "ANTHROPIC_API_KEY" ], "npm": "@ai-sdk/anthropic", "name": "Anthropic", "doc": "https://docs.anthropic.com/en/docs/about-claude/models", "models": { "claude-sonnet-4-6": { "id": "claude-sonnet-4-6", "name": "Claude Sonnet 4.6", "description": "Claude workhorse for coding agents, careful analysis, and production cost control", "family": "claude-sonnet", "attachment": true, "reasoning": true, "reasoning_options": [ { "type": "effort", "values": [ "low", "medium", "high", "max" ] }, { "type": "budget_tokens", "min": 1024 } ], "tool_call": true, "structured_output": true, "temperature": true, "knowledge": "2025-08-31", "release_date": "2026-02-17", "last_updated": "2026-03-13", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 1000000, "output": 128000 }, "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 } }, "claude-opus-4-6": { "id": "claude-opus-4-6", "name": "Claude Opus 4.6", "description": "High-end Claude for difficult coding, planning, and slower expert reasoning", "family": "claude-opus", "attachment": true, "reasoning": true, "reasoning_options": [ { "type": "effort", "values": [ "low", "medium", "high", "max" ] }, { "type": "budget_tokens", "min": 1024 } ], "tool_call": true, "structured_output": true, "temperature": true, "knowledge": "2025-05-31", "release_date": "2026-02-04", "last_updated": "2026-03-13", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 1000000, "output": 128000 }, "cost": { "input": 5, "output": 25, "cache_read": 0.5, "cache_write": 6.25 } } } }, "xai": { "id": "xai", "env": [ "XAI_API_KEY" ], "npm": "@ai-sdk/xai", "name": "xAI", "doc": "https://docs.x.ai/docs/models", "models": { "grok-4.6": { "id": "grok-4.6", "name": "Grok 4.6", "description": "xAI's frontier model for long-running agents, coding, knowledge work, and visual projects", "family": "grok", "attachment": true, "reasoning": true, "reasoning_options": [ { "type": "effort", "values": [ "low", "medium", "high", "xhigh" ] } ], "tool_call": true, "structured_output": true, "temperature": true, "knowledge": "2026-02-01", "release_date": "2026-08-12", "last_updated": "2026-08-12", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 500000, "output": 500000 }, "cost": { "input": 2, "output": 6, "cache_read": 0.5, "tiers": [ { "input": 4, "output": 12, "cache_read": 1, "tier": { "type": "context", "size": 200000 } } ], "context_over_200k": { "input": 4, "output": 12, "cache_read": 1 } } }, "grok-4.5": { "id": "grok-4.5", "name": "Grok 4.5", "description": "xAI's Grok model for chat, coding, agentic tools, and lower hallucination risk", "family": "grok", "attachment": true, "reasoning": true, "reasoning_options": [ { "type": "effort", "values": [ "low", "medium", "high" ] } ], "tool_call": true, "structured_output": true, "temperature": true, "release_date": "2026-07-08", "last_updated": "2026-07-08", "modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 500000, "output": 500000 }, "cost": { "input": 2, "output": 6, "cache_read": 0.3, "tiers": [ { "input": 4, "output": 12, "cache_read": 0.6, "tier": { "type": "context", "size": 200000 } } ], "context_over_200k": { "input": 4, "output": 12, "cache_read": 0.6 } } } } }, "alibaba": { "id": "alibaba", "env": [ "DASHSCOPE_API_KEY" ], "npm": "@ai-sdk/openai-compatible", "name": "Alibaba", "doc": "https://www.alibabacloud.com/help/en/model-studio/models", "models": { "qwen-max": { "id": "qwen-max", "name": "Qwen Max", "description": "Flagship Qwen model for complex reasoning, coding, and agentic workflows", "family": "qwen", "attachment": false, "reasoning": false, "tool_call": true, "temperature": true, "knowledge": "2024-04", "release_date": "2024-04-03", "last_updated": "2025-01-25", "modalities": { "input": [ "text" ], "output": [ "text" ] }, "open_weights": false, "limit": { "context": 32768, "output": 8192 }, "cost": { "input": 1.6, "output": 6.4 } } } } }