Skip to content

AI Models

TeXRA supports models from multiple providers. Select models from the dropdown in the TeXRA UI. Hover over an option to see its context window and cost estimate.

Model
sonnet5T
opus5TT
opus5
sonnet5TT
sonnet5
haiku45TT
haiku45

The model picker: monospace model ids with a T badge on thinking variants, and a hover popover showing context window and per-1M token pricing.

Model ID suffixes:

  • T = Thinking/reasoning mode enabled (shows chain-of-thought)
  • - = Lighter/faster variant
  • Numbers indicate version (e.g., 45 = 4.5, 25 = 2.5)

Anthropic Models

Model IDUse CaseCostSpeed
fable5Most capable, always-on adaptive thinking$$$$Slow
opus5TTop-tier reasoning, long-horizon work$$$$Slow
opus5Most capable for agentic coding$$$$Slow
sonnet5TAll-rounder with reasoning$$$Medium
sonnet5Strong all-rounder$$$Medium
haiku45TFast with reasoning$$Fast
haiku45Fast responses$$Fast

Fable 5, Opus 5, and Sonnet 5 include the full 1M context window at standard pricing — no opt-in or beta header required. Other Claude models use a 200K context window.

Claude Fable 5 (fable5) is Anthropic's most capable model. Thinking is always on — adaptive, with summarized reasoning — so there is no separate T variant. It supports the full reasoning-effort range up to Extra High and the top Max tier, and is eligible for context compaction in tool-use mode.

Claude Opus 5 uses adaptive thinking only (extended thinking with a manual budget_tokens is no longer accepted). TeXRA's reasoning-effort selector maps to Anthropic's effort levels automatically — pick opus5T with Extra High (or the top Max tier) effort for the strongest agentic coding and long-horizon tasks. Opus 5 also supports high-resolution images for better figure, chart, and screenshot understanding; note that TeXRA downscales images above texra.maxImageDimension (default 2000px) before sending, so raise that setting if you want to send higher-resolution figures.

OpenAI Models

Model IDUse CaseCostSpeed
gpt56proPro reasoning mode, 1M context$$$$Slow
gpt56Flagship reasoning, 1M context$$$$Medium
gpt56fastFlagship, fast variant$$$$Fast
gpt56-Lower-cost reasoning$$$Fast
gpt56--Budget reasoning$Fast

GPT-5.6 Sol (gpt56) is OpenAI's current flagship reasoning model; TeXRA pins the Codex integration to gpt-5.5. GPT-5.6 Pro (gpt56pro) runs the same model in the Responses API's pro reasoning mode — billed at standard token rates rather than a premium tier — for the hardest planning and long-horizon tasks; it is hidden by default, so enable it from Settings → Providers & Models when you need it. For one-off hard questions you can also enable the inquiry tool and paste the answer from your own ChatGPT subscription instead of running a full agent turn against the API. gpt56- (Terra) and gpt56-- (Luna) are the lower-cost options for most workloads. See the API reference for full capabilities.

GPT-5 reasoning summaries require account verification. Enable with texra.model.gpt5ReasoningSummary.

Google Models

Model IDUse CaseCostSpeed
gemini31pPro with reasoning, 1M context$$$Medium
gemini36fFlash model with 1M context$$Fast

DeepSeek Models

Model IDUse CaseCostSpeed
deepseekV4 Flash chat mode$Fast
deepseekTV4 Flash with reasoning$Medium
deepseekproV4 Pro chat mode$Medium
deepseekproTV4 Pro with reasoning$Medium

Moonshot Kimi Models

Model IDUse CaseCostSpeed
kimi3K3 flagship, 1M context$$$Medium

DashScope Qwen Models

Model IDUse CaseCostSpeed
qwenplusHybrid thinking, 1M context$$Medium
qwenturboFast with optional thinking$Fast

MiniMax Models

Model IDUse CaseCostSpeed
minimaxM3Flagship with interleaved thinking, 1M context$Medium

MiniMax uses interleaved thinking (chain-of-thought woven into responses). API keys are region-specific — international keys (api.minimax.io) and China keys (api.minimaxi.com) are not interchangeable. Toggle the region in the Models tab.

  • International: Get your API key at platform.minimax.io
  • China: Get your API key at platform.minimaxi.com
  • Coding Plan: MiniMax offers monthly subscription plans ($10/$20/$50/mo) as an alternative to pay-as-you-go. Coding Plan keys are not interchangeable with standard API keys — enter your Coding Plan key via "Set API Key" as usual. Subscribe here.

GLM (Zhipu AI / Z.AI) Models

Model IDUse CaseCostSpeed
glm52Flagship open-source model$$Medium
glm5turboFast inference, agent-optimized$$$Medium
glm5vturboMultimodal vision model$$Medium

GLM models support thinking mode (reasoning is shown inline). The API uses a non-standard base path (/api/paas/v4), which TeXRA handles automatically.

  • International (Z.AI): Get your API key at z.ai — endpoint: api.z.ai
  • China (BigModel): Get your API key at open.bigmodel.cn — endpoint: open.bigmodel.cn (default)
  • Coding Plan: GLM offers monthly subscription plans as an alternative to pay-as-you-go, with access to all GLM models. Coding Plan uses a separate endpoint (/api/coding/paas/v4). Enable the "Coding Plan" toggle in the Models tab. Subscribe here.

Meta (Muse Spark) Models

Model IDUse CaseCostSpeed
musespark11Reasoning + vision + PDF, 1M context$$Medium

Muse Spark always reasons (effort is adjustable but cannot be disabled). TeXRA talks to the Meta Model API's Responses surface, which carries reasoning across turns and supports tool calling. The API is in public preview for US-based developers.

  • Get your API key at dev.meta.ai (Model API dashboard → API keys tab)

Grok / xAI Models

Model IDUse CaseCostSpeed
grok45Reasoning + vision$$$Medium

Choosing a Model

Simple tasksFast, cheap models
gpt56--deepseekhaiku45
Complex tasksPowerful flagship models
fable5opus5gpt56gemini31p
Code-heavy / LaTeX editingStrong editing models
opus5Tsonnet5Tgpt56
Reasoning-heavyThinking models
fable5opus5Tsonnet5TdeepseekTkimi3
Large documentsHigh-context models
gemini31pfable5sonnet5opus5

Pick a model by intent: each use case maps to a short list of recommended model ids.

Setting API Keys

Subscription-backed models in VS Code

The VS Code extension can also use compatible models from a GitHub Copilot subscription. Open Settings → Subscriptions → Copilot in VS Code, then choose Grant access. VS Code presents its own consent prompt; TeXRA never asks for or stores a Copilot API key.

Copilot models appear only in the VS Code extension because the official Language Model API is an editor capability. They do not appear in the CLI or desktop model lists. If Copilot quota is exhausted, the retry panel can start a new run through the corresponding provider model after a usable provider API key is available.

Using your own provider API key? TeXRA stores keys securely using VS Code's secret storage — they are never written to settings files.

  1. Open the Settings Dashboard: Click the gear icon at the top of the TeXRA panel, or run TeXRA: Show Settings Dashboard from the Command Palette.
  2. Go to the Models tab: The API Configuration table lists every provider with its current key status (Set, Env, or Not set).
  3. Set the key: Find your provider's row and click the Set API key button, then paste your key. Don't have one yet? Click the Get button to open the provider's API key page.

The Status column shows Set once the key is stored. To replace a key, set it again; to remove one, click the trash icon. Repeat for each provider you plan to use.

Dashboard — texra-paper

API Configuration

Chat subscriptions (ChatGPT Plus, Claude Pro, etc.) do not include API access — you need a key from the provider's developer platform.

Global default for all providers
ProviderStatusActions
Anthropic
Key set
OpenAI
Key set
Google
Env
xAI
Not set
DeepSeek
Not set

The Models tab's API Configuration table: each provider shows its key status and Set / Get / Remove actions.

Per-provider settings

Expand a provider's row (click the chevron) to toggle streaming or, for providers that support it, point requests at a custom endpoint.

You can also place a .env file in your workspace with variables like OPENAI_API_KEY. TeXRA loads this automatically so you don't need to enter keys every time.

Prefer not to manage keys at all? Researcher Access is free for academics — no API key needed. See Quick Start → Sign in, use ChatGPT, or add a key.

Customizing the Model List

Choose which models appear in the extension picker from the Dashboard → Models tab — toggle them on or off per provider, no JSON required (the choice is saved in the extension).

In the CLI TUI, use /model after a chat starts to switch among models that are runnable in the active API mode. Startup also asks for a model when the launcher flow needs one after the agent or team choice.

For headless CLI runs, list what's available with texra models list (or texra models show <id> for details), then pick a default for your project by setting the model key in .texra/config.json, or override per run with --model <id>:

texra models
$texra models list
fable5Claude Fable 5included access
opus5TOpus 5 (Thinking)included access
sonnet5TSonnet 5 (Thinking)included access
deepseekTDeepSeek V4 Flash (Thinking)included access
$texra models show fable5
id: fable5
label: Claude Fable 5
provider: anthropic
status: included access

The id column is exactly what --model takes — the same short ids used in the tables above; --all includes models your current access mode can't run, with the reason.

Using OpenRouter

To access additional models or alternative pricing:

  1. Get an OpenRouter API key
  2. Add via TeXRA: Set API Key command
  3. In the Dashboard → Models tab → API Configuration, expand the OpenRouter row and enable "Use OpenRouter for All Models"

Expanding any provider's row in API Configuration reveals its key field plus the per-provider toggles described here and under Streaming:

OpenAI
Key set
sk-••••••••••••••••••••••••
Long responses arrive incrementally
Route this provider's calls through OpenRouter

Expand a provider's API Configuration row to reveal its masked key field, the per-provider Enable streaming toggle, and Use OpenRouter for All Models.

Streaming

Streaming is configured per provider rather than through a single global setting. Open the Dashboard → Models tab, expand a provider's API Configuration, and toggle streaming there (see the expanded row above). Enabling it makes long responses arrive incrementally instead of in one large reply.

Next Steps