Model reference · open weights

gpt2-mini

Available as managed deployment LLMs erwanf · community Text gen 1 variants 102k dl/mo

gpt2-mini is an open-weight language model from erwanf. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byerwanf
TypeLanguage models
TaskText gen
Parameters (lead)39M
Context512 tokens
Runs withtransformers
Released2024-06-23
Popularity102k downloads / month
LicenceOpen weights

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys gpt2-mini for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (gpt2-mini below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt2-mini","messages":[{"role":"user","content":"Hello"}]}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms