We define new differential graded algebras A(n, k, S) in the framework of Lipshitz-Ozsváth-Thurston's and Zarev's strands algebras from bordered Floer homology. The algebras A(n, k, S) are meant to be strands models for Ozsváth-Szabó's algebras B(n, k, S); indeed, we exhibit a quasi-isomorphism from B(n, k, S) to A(n, k, S). We also show how Ozsváth-Szabó's gradings on B(n, k, S) arise naturally from the general framework of group-valued gradings on strands algebras. * w unExtend w un additively to any path γ ∈ Path(Γ(n, k, S)).• Let {e 1 , . . . , e n } denote the standard basis of Z n . Define the refined Alexander multigrading on Quiv(Γ(n, k, S), R S ), a grading by 1 2 Z n , by applying the homomorphismn sending τ i and β i to e i 2 to the unrefined Alexander multi-degrees. For a ∈ Quiv(Γ(n, k, S), R S ) homogeneous, let w(a) denote the refined Alexander multidegree of a. Explicitly, for an edge γ of Γ(n, k, S), we haveLet w i (a) denote the coefficient of w(a) on the basis element e i .• Define the single Alexander grading on Quiv(Γ(n, k, S), R S ), a grading by 1 2 Z, by applying the homomorphismto the refined Alexander multi-degrees. Let Alex(a) denote the single Alexander degree of a. We haveExplicitly, for a single edge γ, we have * Alex(γ) = 1/2 if γ has label R i or L i and i / ∈ S * Alex(γ) = −1/2 if γ has label R i or L i and i ∈ S * Alex(γ) = 1 if γ has label U i and i / ∈ S * Alex(γ) = −1 if γ has label U i or C i and i ∈ S.• Define the Maslov grading on Quiv(Γ(n, k, S), R S ), a grading by Z, by declaringfor a path γ in Γ(n, k, S), where # C (γ) is the number of edges in γ labeled C i for some i. Explicitly, for a single edge γ, we haveRemark 2.6. Our use of the words "refined" and "unrefined" follows the standard usage in bordered Floer homology, in contrast with [Man17] (see Section 6 below).Definition 2.7. The dg algebra B(n, k, S) is defined to be Quiv(Γ(n, k, S), R S ), with any of the above three Alexander gradings as an intrinsic grading (preserved by ∂) and the Maslov grading as a homological grading (decreased by 1 by ∂).The above definition is justified by the following theorem.Theorem 2.8 ([MMW19, Corollary 3.14]). The dg algebra B(n, k, S) defined in [OSz18] is isomorphic to Quiv(Γ(n, k, S), R S ).