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
- Install dependencies with npm install ai @ai-sdk/openai-compatible.
- Set LLM7_API_KEY on your server with your own key in place of the placeholder.
- 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);| Model | Pricing | Context | Tool calling |
|---|---|---|---|
| Current pricing unavailable | 400,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 400,000 | Supported | |
| Current pricing unavailable | 512,000 | Supported | |
| Current pricing unavailable | 8,000 | Not supported | |
| anthropic/claude-opus-4-6 | Current pricing unavailable | Unknown context | Supported |
| anthropic/claude-opus-4-7 | Current pricing unavailable | Unknown context | Supported |
| anthropic/claude-opus-4-8 | Current pricing unavailable | Unknown context | Supported |
| anthropic/claude-sonnet-4-6 | Current pricing unavailable | Unknown context | Supported |
| anthropic/claude-sonnet-5 | Current pricing unavailable | Unknown context | Supported |
| anthropic/claude-sonnet-5-5 | Current pricing unavailable | 1,000,000 | Supported |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 200,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 32,000 | Supported | |
| Current pricing unavailable | 1,024,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,048,576 | Supported | |
| Current pricing unavailable | 256,000 | Supported | |
| Current pricing unavailable | Unknown context | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| gemma4:31b | Current pricing unavailable | 262,000 | Supported |
| Current pricing unavailable | 976,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | Unknown context | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | Unknown context | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| Current pricing unavailable | 128,000 | Supported | |
| Current pricing unavailable | Unknown context | Supported | |
| Current pricing unavailable | 262,000 | Supported | |
| Current pricing unavailable | 256,000 | Supported | |
| Current pricing unavailable | 1,000,000 | Supported | |
| llama-4-maverick | Current pricing unavailable | 1,048,576 | Supported |
| Current pricing unavailable | 180,000 | Supported | |
| Current pricing unavailable | 512,000 | Supported | |
| Current pricing unavailable | 128,000 | Not supported | |
| Current pricing unavailable | 32,000 | Not supported | |
| Current pricing unavailable | 256,000 | Supported | |
| nemotron-3-nano:30b | Current pricing unavailable | 1,000,000 | Supported |
| Current pricing unavailable | 250,000 | Supported |
Instructions reviewed 2026-09-14. Sources: Vercel AI SDK documentation 1
Explore related pages
Model catalogModel comparisonsCapabilitiesIntegrationsCost calculatorsToken calculatorTool calling modelsVision modelsLong context modelsJSON mode modelsStreaming modelsReasoning modelsHermes Agent with LLM7OpenClaw with LLM7n8n with LLM7LangChain with LLM7Customer support cost calculatorDocument processing cost calculator