diff --git a/apps/web/src/components/chat/ProviderInstanceIcon.test.tsx b/apps/web/src/components/chat/ProviderInstanceIcon.test.tsx
new file mode 100644
index 000000000000..f6c14ca8273d
--- /dev/null
+++ b/apps/web/src/components/chat/ProviderInstanceIcon.test.tsx
@@ -0,0 +1,37 @@
+import { renderToStaticMarkup } from "react-dom/server";
+import { describe, expect, it } from "vite-plus/test";
+
+import { ProviderInstanceIcon } from "./ProviderInstanceIcon";
+
+describe("ProviderInstanceIcon", () => {
+ it("positions the initials badge with negative offsets so it does not obscure small provider icons", () => {
+ const markup = renderToStaticMarkup(
+ ,
+ );
+
+ expect(markup).toContain("-right-0.5");
+ expect(markup).toContain("-bottom-0.5");
+ expect(markup).not.toMatch(/(? {
+ const markup = renderToStaticMarkup(
+ ,
+ );
+
+ expect(markup).not.toContain("-right-0.5");
+ expect(markup).not.toContain("-bottom-0.5");
+ });
+});
\ No newline at end of file
diff --git a/apps/web/src/components/chat/ProviderInstanceIcon.tsx b/apps/web/src/components/chat/ProviderInstanceIcon.tsx
index 53c66667f939..5839c1a6d79a 100644
--- a/apps/web/src/components/chat/ProviderInstanceIcon.tsx
+++ b/apps/web/src/components/chat/ProviderInstanceIcon.tsx
@@ -62,7 +62,7 @@ export const ProviderInstanceIcon = memo(function ProviderInstanceIcon(props: {
{props.showBadge ? (