# Starlette vs FastAPI: what FastAPI actually adds

DevFeed: [Starlette vs FastAPI: what FastAPI actually adds](<https://devfeed.tech/articles/starlette-vs-fastapi-what-fastapi-actually-adds-20058.md>)

Original publisher: [Read original article](<https://www.honeybadger.io/blog/starlette-vs-fastapi/>)

Author: Farhan Hasin Chowdhury

Published: 2026-07-20T07:00:00Z

Content type: article

Language: en

Sources: [Honeybadger](<https://devfeed.tech/sources/honeybadger.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Starlette](<https://devfeed.tech/topics/starlette.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [application](<https://devfeed.tech/tags/application.md>), [article](<https://devfeed.tech/tags/article.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [background](<https://devfeed.tech/tags/background.md>), [better](<https://devfeed.tech/tags/better.md>), [body](<https://devfeed.tech/tags/body.md>), [build](<https://devfeed.tech/tags/build.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [cases](<https://devfeed.tech/tags/cases.md>), [choice](<https://devfeed.tech/tags/choice.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [full-stack](<https://devfeed.tech/tags/full-stack.md>), [learn](<https://devfeed.tech/tags/learn.md>), [pydantic](<https://devfeed.tech/tags/pydantic.md>), [python](<https://devfeed.tech/tags/python.md>), [python-articles](<https://devfeed.tech/tags/python-articles.md>), [raw](<https://devfeed.tech/tags/raw.md>), [stack](<https://devfeed.tech/tags/stack.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [vs](<https://devfeed.tech/tags/vs.md>)

## AI overview

Starlette provides the ASGI web toolkit: routing, HTTP and WebSocket handling, middleware, background tasks, sessions, and testing support. Pydantic supplies typed data parsing, validation, serialization, and JSON Schema generation. FastAPI connects them by reading endpoint function type hints, adding parameter parsing and dependency injection, and generating OpenAPI documentation. The excerpt frames the choice as whether those higher-level conveniences are useful; it ends as the comparison begins, so it does not provide specific cases for choosing raw Starlette.

## Source excerpt

FastAPI is built on Starlette, but most developers never look at what's underneath. Learn what FastAPI actually adds on top of Starlette and Pydantic, what comes straight from Starlette, and when dropping down to raw Starlette makes more sense than pulling in the full stack.