Framework · Python
Skeram for FastAPI
FastAPI routes are found by code from the decorators, including router prefixes across files, so a FastAPI app gets an exact route map.
What Skeram reads
| Routes | Listed by code: @app and @router decorators (get, post, put, patch, delete, api_route, websocket), with APIRouter prefixes and include_router() mounts resolved across files into full paths, each with its line number. |
|---|---|
| AI calls | Files that import or call OpenAI, Anthropic, LiteLLM, LangChain, LlamaIndex, Google, Groq, Cohere, Mistral or Bedrock through boto3 are found by code, with literal models and caps. Model names set in an environment example file (.env.example and similar) are read as the intended default. |
| Data | SQLAlchemy, SQLModel, psycopg, asyncpg, Redis, MongoDB and vector stores (pgvector, Pinecone, Chroma, Qdrant, Weaviate) from imports and dependencies. |
| Background jobs | Celery, RQ, Dramatiq, arq and Huey workers, Celery beat schedules and APScheduler jobs. |
| Hosting | Priced as a server container, sized for an async Python service. |
“Listed by code” means found by plain code before any model is involved, so the same repository always gives the same list. Everything else is read by one model call from the files Skeram selects, and every claim must cite a file and line that exists. How the analysis works.
What it flags most in FastAPI apps
- Requests held open on LLM calls: await client.chat.completions.create() inside an endpoint holds the request for the whole generation.
- Public endpoints that spend your LLM budget: FastAPI endpoints without a Depends() auth check that call a model.
Known limits
- Sub-applications mounted with app.mount() aren't followed yet.
Price your FastAPI app
Paste a public GitHub link, a folder link inside a monorepo, or upload private code with the CLI.