LLM7.io
LLM7.io
Toggle theme

LLM7 model guide

Vercel AI SDK with LLM7

Configure Vercel AI SDK with LLM7: eligible models, setup instructions, and a copyable configuration.

Requirements and limitations

Keep the API key on the server. Use tools only with models that report tool support. Responses-only features are outside this template.

Setup

  1. Install dependencies with npm install ai @ai-sdk/openai-compatible.
  2. Set LLM7_API_KEY on your server with your own key in place of the placeholder.
  3. Use the compatible chatModel adapter below in server-side code.
Checking current pricing…
// Server environment: LLM7_API_KEY=YOUR_LLM7_API_KEY
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';

const llm7 = createOpenAICompatible({
  name: 'llm7',
  baseURL: 'https://api.llm7.io/v1',
  apiKey: process.env.LLM7_API_KEY,
});
const result = await generateText({
  model: llm7.chatModel("DeepSeek-V4-Flash-0731"),
  prompt: 'Hello!',
});
console.log(result.text);
Eligible models and published pricing
ModelPricingContextTool calling
DeepSeek logo
DeepSeek-V4-Flash-0731
Current pricing unavailable400,000Supported
DeepSeek logo
DeepSeek-V4.1-Flash
Current pricing unavailable1,000,000Supported
Z.ai logo
GLM-5.3-Flash
Current pricing unavailable400,000Supported
Inkling logo
Inkling-Small
Current pricing unavailable512,000Supported
Hugging Face logo
L3-8B-Lunaris-v1-Turbo
Current pricing unavailable8,000Not supported
anthropic/claude-opus-4-6Current pricing unavailableUnknown contextSupported
anthropic/claude-opus-4-7Current pricing unavailableUnknown contextSupported
anthropic/claude-opus-4-8Current pricing unavailableUnknown contextSupported
anthropic/claude-sonnet-4-6Current pricing unavailableUnknown contextSupported
anthropic/claude-sonnet-5Current pricing unavailableUnknown contextSupported
anthropic/claude-sonnet-5-5Current pricing unavailable1,000,000Supported
Anthropic logo
claude-fable-5
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-fable-5-1
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-haiku-4-5
Current pricing unavailable200,000Supported
Anthropic logo
claude-haiku-5-5
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-opus-4-8
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-opus-5
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-opus-5-5
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-sonnet-4-6
Current pricing unavailable1,000,000Supported
Anthropic logo
claude-sonnet-5
Current pricing unavailable1,000,000Supported
Mistral AI logo
codestral-latest
Current pricing unavailable32,000Supported
DeepSeek logo
deepseek-v4-flash:0731
Current pricing unavailable1,024,000Supported
DeepSeek logo
deepseek-v4-pro
Current pricing unavailable1,000,000Supported
Google logo
gemini-3-flash
Current pricing unavailable1,048,576Supported
Google logo
gemini-3.1-flash-lite
Current pricing unavailable256,000Supported
Google logo
gemini-3.6-flash-high
Current pricing unavailableUnknown contextSupported
Google logo
gemini-3.8-flash-high
Current pricing unavailable1,000,000Supported
Google logo
gemini-4-argon
Current pricing unavailable1,000,000Supported
gemma4:31bCurrent pricing unavailable262,000Supported
Z.ai logo
glm-5.2
Current pricing unavailable976,000Supported
Z.ai logo
glm-5.3
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-5.6-luna
Current pricing unavailableUnknown contextSupported
OpenAI logo
gpt-5.6-sol
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-5.6-terra
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-6-astra
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-6-luna
Current pricing unavailableUnknown contextSupported
OpenAI logo
gpt-6-sol
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-6.1-sol
Current pricing unavailable1,000,000Supported
OpenAI logo
gpt-oss:20b
Current pricing unavailable128,000Supported
xAI logo
grok-4.7
Current pricing unavailableUnknown contextSupported
Moonshot AI logo
kimi-k2.6
Current pricing unavailable262,000Supported
Moonshot AI logo
kimi-k2.7-code
Current pricing unavailable256,000Supported
Moonshot AI logo
kimi-k3
Current pricing unavailable1,000,000Supported
llama-4-maverickCurrent pricing unavailable1,048,576Supported
MiniMax logo
minimax-m2.7
Current pricing unavailable180,000Supported
MiniMax logo
minimax-m3
Current pricing unavailable512,000Supported
Mistral AI logo
mistral-Nemo-Instruct-2407
Current pricing unavailable128,000Not supported
Mistral AI logo
mistral-Small-24B-Instruct-2501
Current pricing unavailable32,000Not supported
Mistral AI logo
mistral-large-3:675b
Current pricing unavailable256,000Supported
nemotron-3-nano:30bCurrent pricing unavailable1,000,000Supported
ByteDance logo
seed-2.0-mini
Current pricing unavailable250,000Supported

Instructions reviewed 2026-09-14. Sources: Vercel AI SDK documentation 1

Explore related pages