VCodeX
For Developers

Models

List the models your role can access and their context limits.

GET /v1/models returns the models available to the caller, filtered by the role's model-access policy, with context-window limits per model.

curl https://app.vcodex.ai/v1/models \
  -H "Authorization: Bearer $VCODEX_KEY"

You can also browse accessible models in the dashboard under Settings → Model Access.

Choosing a model

  • Pass a concrete id (e.g. openai/gpt-5, anthropic/claude-sonnet-4.5) to pin a provider and model.
  • Pass an auto-mode alias (vcodex/auto) to let the gateway choose a tier per request.

Model access is governed by role — admins can scope which models a role may use. See RBAC & roles.

On this page