MODEL TASKLLM · CODING & AGENTS

Best LLMs for Coding

Language models suited to code generation, refactoring and agentic tool use: Claude Opus and Sonnet, GPT-6.1 and GPT-6 Sol, Kimi K3, GLM 5, Qwen3.8 Max, DeepSeek V4 Pro and MiniMax M3.

All Best LLMs for Coding

Preview the output style, compare capabilities, then open any model for full specs, pricing, and a live Playground.

Claude Opus 5.5 output preview
llm
Anthropic

Claude Opus 5.5

Claude Opus 5.5 is the most powerful model in the Claude 5 family from Anthropic. It excels at complex reasoning, analysis, and creative tasks with superior accuracy and nuance. It supports text, imag...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $4
MODE1M context
View model
Claude Opus 5 output preview
llm
Anthropic

Claude Opus 5

Claude Opus 5 is the most powerful model in the Claude 5 family from Anthropic. It excels at complex reasoning, analysis, and creative tasks with superior accuracy and nuance. It supports text, image,...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $5
MODE1M context
View model
Claude Opus 4.8 output preview
llm
Anthropic

Claude Opus 4.8

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context windo...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $5
MODE1M context
View model
Claude Sonnet 5.5 output preview
llm
Anthropic

Claude Sonnet 5.5

Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade. It is especially strong at building features and fixing bugs, with a ...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1M context
View model
Claude Sonnet 5 output preview
llm
Anthropic

Claude Sonnet 5

Claude Sonnet 5 is a Sonnet-class model for high-quality coding, agentic workflows, reasoning, vision, structured outputs, and tool use.

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1M context
View model
GPT-6.1 Sol output preview
llm
OpenAI

GPT-6.1 Sol

GPT-6.1 Sol is OpenAI's upgrade to GPT-6 Sol, introduced at DevDay 2026 and positioned between GPT-6 Astra and GPT-6 Luna, with text and image input. OpenAI says it delivers near-Astra performance for...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1.1M context
View model
GPT-6 Sol output preview
llm
OpenAI

GPT-6 Sol

GPT-6 Sol is the middle tier of OpenAI's GPT-6 reasoning family, released in September 2026 alongside GPT-6 Luna and built, according to OpenAI, for complex coding and agentic workflows, with text and...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1.1M context
View model
GPT-5.6 Sol output preview
llm
OpenAI

GPT-5.6 Sol

GPT-5.6 Sol is the flagship tier of OpenAI's GPT-5.6 reasoning family, accepting text and image input; OpenAI says it roughly corresponds to the unsuffixed tier of earlier GPT-5 families, and the plai...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $4
MODE1.1M context
View model
llm
Moonshotai

Kimi K3.1 Pro

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model, a post-trained successor to Kimi K3 with a 1M-token context window. It accepts text, image and video input and is built ...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1M context
View model
llm
Moonshotai

Kimi K3

Kimi K3 is Moonshot AI's flagship model, a 2.8-trillion-parameter open-weight mixture-of-experts model with native visual understanding and a 1M-token context. It is built on Kimi Delta Attention, a h...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $3
MODE1M context
View model
llm
Z-Ai

GLM 5.3

GLM-5.3 is Z.ai's flagship text model for complex software engineering and long-horizon agent work, built on the same base model as GLM-5.2 with all gains coming from expanded post-training. Z.ai high...

  • chat
  • reasoning
  • structured_output
  • function_calling
PRICEFrom $1.4
MODE1M context
View model
GLM 5.2 output preview
llm
Z-Ai

GLM 5.2

GLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability on a usable 1M-token context. Z.ai positions it for p...

  • chat
  • reasoning
  • structured_output
  • function_calling
PRICEFrom $1.4
MODE1M context
View model
Qwen3.8 Max output preview
llm
Alibaba

Qwen3.8 Max

Qwen3.8 Max is Alibaba's flagship Qwen3.8 model, a 2.4-trillion-parameter Mixture-of-Experts reasoning model with native vision understanding, released in August 2026. Alibaba positions it for long-ho...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $2
MODE1M context
View model
DeepSeek V4 Pro output preview
llm
DeepSeek

DeepSeek V4 Pro

DeepSeek V4 Pro is the large tier of DeepSeek's V4 family, a 1.6T-parameter mixture-of-experts model with 49B active parameters, introduced as an open-weight preview in April 2026 with a 1M-token cont...

  • chat
  • reasoning
  • structured_output
  • function_calling
PRICEFrom $1.32
MODE1M context
View model
MiniMax M3 output preview
llm
MiniMax

MiniMax M3

MiniMax-M3 is MiniMax's flagship multimodal foundation model, which MiniMax describes as open-weight. It is built on MiniMax Sparse Attention, which selects key-value blocks to cut long-context comput...

  • chat
  • vision
  • reasoning
  • structured_output
PRICEFrom $0.3
MODE1M context
View model

Model lineup

Context window and positioning from each provider.

ModelContextPositioning
Claude Opus 4.81000KClaude Opus 4.8 is Anthropic's most capable generally available model in the Opus family
GPT-5.6 Sol1050KGPT-5.6 Sol is the flagship tier of OpenAI's GPT-5.6 reasoning family, accepting text and image input; OpenAI says it roughly corresponds to the…
DeepSeek V4 Pro1049KDeepSeek V4 Pro is the large tier of DeepSeek's V4 family, a 1.6T-parameter mixture-of-experts model with 49B active parameters, introduced as an…
Kimi K31049KKimi K3 is Moonshot AI's flagship model, a 2.8-trillion-parameter open-weight mixture-of-experts model with native visual understanding and a…
Claude Opus 51000KClaude Opus 5 is the most powerful model in the Claude 5 family from Anthropic
GPT-6.1 Sol1050KGPT-6.1 Sol is OpenAI's upgrade to GPT-6 Sol, introduced at DevDay 2026 and positioned between GPT-6 Astra and GPT-6 Luna, with text and image input
GLM 5.21049KGLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability…
GLM 5.31049KGLM-5.3 is Z.ai's flagship text model for complex software engineering and long-horizon agent work, built on the same base model as GLM-5.2 with all…
MiniMax M31000KMiniMax-M3 is MiniMax's flagship multimodal foundation model, which MiniMax describes as open-weight
Claude Sonnet 51000KClaude Sonnet 5 is a Sonnet-class model for high-quality coding, agentic workflows, reasoning, vision, structured outputs, and tool use
Qwen3.8 Max1000KQwen3.8 Max is Alibaba's flagship Qwen3.8 model, a 2.4-trillion-parameter Mixture-of-Experts reasoning model with native vision understanding,…
Claude Opus 5.51000KClaude Opus 5.5 is the most powerful model in the Claude 5 family from Anthropic

Models for code and agents

These models are positioned by their providers for coding, tool use and long agentic workflows. All support function calling and structured output on SandBase.

Picking one

  • Hardest tasks: Claude Opus 5.5, GPT-6.1 Sol.
  • Everyday coding: Claude Sonnet 5.5 and 5, GPT-6 Sol.
  • Strong value: Kimi K3.1 Pro and K3, GLM 5.3, DeepSeek V4 Pro, Qwen3.8 Max, MiniMax M3.

Use them in your tools

Connect Claude Code, Codex, Cursor and other clients with one SandBase key; see Use in AI tools. Claude also works on the native Messages API; see Claude API.

Start using Best LLMs for Coding on SandBase

Switch models by changing one field.

  1. 01

    Create an API key

    Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.

    TERMINAL

    export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
  2. 02

    Send a chat request

    Call the OpenAI-compatible Chat Completions API with model anthropic/claude-sonnet-5.5. Any OpenAI SDK works with base URL https://api.sandbase.ai/v1.

    TERMINAL

    curl https://api.sandbase.ai/v1/chat/completions \
      -H "Authorization: Bearer $SANDBASE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "anthropic/claude-sonnet-5.5", "messages": [{"role": "user", "content": "Explain vector databases in two sentences."}]}'
  3. 03

    Or use the Messages API

    Claude models are also served on the native Anthropic Messages API.

    TERMINAL

    curl https://api.sandbase.ai/v1/messages \
      -H "Authorization: Bearer $SANDBASE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "anthropic/claude-sonnet-5.5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Explain vector databases in two sentences."}]}'
  4. 04

    Connect your AI tools

    Use the same key in Claude Code, Codex, Cursor and other clients. See Use in AI tools for setup.

Questions, answered

Can I use these models in Claude Code or Cursor?

Yes. See Use in AI tools for setup. Claude models work over the Messages API; others over OpenAI-compatible chat completions.

Do these models support tool calling?

Yes. All models on this page are tagged for function calling and structured output.

Which is the best value for coding?

Kimi, GLM, DeepSeek V4 and Qwen3.8 Max have lower token prices than Claude Opus or GPT-6.1 Sol. Compare current prices on the cards.

How big a codebase can they read?

Most models here have a context window of about 1M tokens. Check each model page.

READY / SET / RUN

Build with Best LLMs for Coding.

One key, consistent APIs, and usage-based pricing across every model on this page.

Get your API keyRead the docs