Unsloth · Authentication Profile

Unsloth Authentication

Authentication

Authentication profile for the Unsloth local API (2026-07-21). Unsloth has no hosted API; models loaded in Unsloth Studio are exposed on the user's own machine as an authenticated OpenAI/Anthropic-compatible endpoint via llama-server. Keys are created in Studio (Settings -> API) or auto-created by `unsloth run`; Unsloth stores only a hash and shows the key once. Requests with a revoked key fail 401 Unauthorized. No OpenAPI is published, so this profile is captured from the docs rather than derived from a spec.

Unsloth secures its APIs with apiKey across 1 declared security scheme, as derived from its OpenAPI definitions.

CompanyArtificial IntelligenceLLM Fine-TuningMachine-LearningOpen-SourceReinforcement LearningQuantizationLocal AIDeveloper Tools
Methods: apiKey Schemes: 1 OAuth flows: API key in: header

Security Schemes

UnslothApiKey apiKey
· in: header ()

Source

Authentication Profile

unsloth-authentication.yml Raw ↑
generated: '2026-07-21'
method: searched
docs: https://unsloth.ai/docs/basics/api
source: https://unsloth.ai/docs/basics/api
description: >-
  Authentication profile for the Unsloth local API (2026-07-21). Unsloth has
  no hosted API; models loaded in Unsloth Studio are exposed on the user's own
  machine as an authenticated OpenAI/Anthropic-compatible endpoint via
  llama-server. Keys are created in Studio (Settings -> API) or auto-created
  by `unsloth run`; Unsloth stores only a hash and shows the key once.
  Requests with a revoked key fail 401 Unauthorized. No OpenAPI is published,
  so this profile is captured from the docs rather than derived from a spec.
summary:
  types: [apiKey]
  api_key_in: [header]
  oauth2_flows: []
schemes:
  - name: UnslothApiKey
    type: apiKey
    in: header
    header: Authorization (Bearer)
    key_prefix: sk-unsloth-
    scope: local instance only (http://localhost:PORT base URL)
    revocation: Keys revocable in Studio Settings -> API; revoked keys return 401 Unauthorized.
    expiry: Optional expiry settable at key creation.
    sources: [https://unsloth.ai/docs/basics/api]
endpoints:
  - path: /v1/chat/completions
    dialect: OpenAI-compatible
  - path: /v1/responses
    dialect: OpenAI-compatible
  - path: /v1/messages
    dialect: Anthropic-compatible

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/unsloth-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.